package com.cyys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author Long
 * @since 2022-06-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Sites对象", description="")
public class Sites implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "mini用户id")
    private Integer user_id;

    @ApiModelProperty(value = "1.男0.女")
    private Integer sex;

    @ApiModelProperty(value = "电话号码")
    private String iphone;

    @ApiModelProperty(value = "联系人")
    private String name;

    @ApiModelProperty(value = "收货地址")
    private String profile;

    @ApiModelProperty(value = "详细地址")
    private String site;

    @ApiModelProperty(value = "标签（0家1公司2学校）")
    private String label;

    @ApiModelProperty(value = "默认地址（1是0否）")
    private String defaults;

    @TableField(exist = false)
    private Integer uid;


}
